import BandForm from './BandForm'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'


export function mapStateToProps({band: { record }, global: { band }, setting: { categorys } }: StoreState) {
  return {
    record,
    categorys,
    band
  }
}
export default connect(mapStateToProps)(BandForm)